package com.arcadia.d2dmg;

import com.arcadia.d2.damage_condition.DamageCondition;
import com.arcadia.d2.hero.Hero;

public class CoreDamageCalculator {
	
	//singleton object
	private static CoreDamageCalculator coreDamageCalculator;
	
	private Hero hero;
	private DamageCondition condition;
	
	
	
	public static CoreDamageCalculator getInstance(){
		
		if(coreDamageCalculator == null){
			
			coreDamageCalculator = new CoreDamageCalculator();
			
		}
		
		return coreDamageCalculator;
	}
	
	public CoreDamageCalculator(){
		
		hero = new Hero();
		condition = new DamageCondition();
		
	}
	
	public Hero getHero(){
		return hero;
	}
	
	public DamageCondition getCondition(){
		return condition;
	}
	
}
